package com.fzkj.project.entiy;

import com.fzkj.common.annotation.Excel;
import com.fzkj.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 用户学院权限对象 sys_user_auth
 *
 * @author zhangmx
 * @date 2024-06-27
 */
public class SysUserAuth extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户ID */
    private Long userId;

    /** 关联权限ID */
    private String busId;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    private String name;

    private String pId;

    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setBusId(String busId)
    {
        this.busId = busId;
    }

    public String getBusId()
    {
        return busId;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getpId() {
        return pId;
    }

    public void setpId(String pId) {
        this.pId = pId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("userId", getUserId())
                .append("busId", getBusId())
                .append("type", getType())
                .toString();
    }
}
